package insight.Expression;

/**
 * @author huu
 * @create 2025-08-24-12:20
 * @description: 二元运算符表达式,做了一个抽象类
 */
public abstract class BinaryOperatorExpression implements Expression{
    Expression left;
    Expression right;
    //构造函数,抽象类构造函数一般都是被保护的只有子类才能调用这个
    protected BinaryOperatorExpression(Expression left, Expression right)
    {
        this.left = left;
        this.right = right;
    }

}
